package cn.wei.sdd.sms.client;

import cn.wei.sdd.sms.client.fallback.CoreUserInfoClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wei
 * @Date: 2021/10/19/17:26
 */
@FeignClient(value = "service-core", fallback = CoreUserInfoClientFallback.class)
public interface CoreUserClient {


    @GetMapping("/wxApi/core/user/checkMobile/{mobile}")
    public Boolean checkMobile(@PathVariable String mobile);
}
